<?php

/**
 * Base class for all application presenters.
 *
 * @author     John Doe
 * @package    MyApplication
 */
abstract class BasePresenter extends Nette\Application\UI\Presenter
{
    /**
     * @return \OverFish\Services\RepositoryLoader
     */
    final public function getRepositories() {
        return $this->context->repositoryLoader;
    }
    
    /**
     * @return \OverFish\Services\EntityLoader
     */
    final public function getEntities() {
        return $this->context->entityLoader;
    }
}
